import bcrypt from "bcryptjs"

export function hashInfo(info){
    // let salt = bcrypt.genSaltSync(10)
    // let hash = bcrypt.hashSync(info,salt)
    //
    // return hash
    return info
}

export function compareInfo(info, hashInfo){
    let result = bcrypt.compareSync(info, hashInfo)

    return result
}
